<div id="example_length" class="dataTables_length">
	<!--
	<label>每页显示
		<select size="1" id="page-limit" style="width: 66px;padding: 6px;" name="example_length" aria-controls="example">
		   <#if pageInfo.limit==10>
		   		<option value="10" selected="selected">10</option>
		   <#else>
		   		<option value="10">10</option>
		   </#if>
		   <#if pageInfo.limit==20>
		   		<option value="20" selected="selected">20</option>
		   <#else>
		   		<option value="20">20</option>
		   </#if>
		   <#if pageInfo.limit==50>
		   		<option value="50" selected="selected">50</option>
		   <#else>
		   		<option value="50">50</option>
		   </#if>
		   <#if pageInfo.limit==100>
		   		<option value="100" selected="selected">100</option>
		   <#else>
		   		<option value="100">100</option>
		   </#if>		   		   
		</select> 
	 条记录
	</label>
	-->
	
</div>

<div class="dataTables_info" id="example_info">本页显示 ${pageInfo.start}到  ${pageInfo.end} / 共 ${pageInfo.total}条, 共${pageInfo.pages}页</div>
<input type="hidden" id="page-count" value="${pageInfo.pages}" />
<div class="dataTables_paginate paging_full_numbers" id="example_paginate">
		<!--<a tabindex="0" class="first paginate_button paginate_button_disabled" id="example_first">首页</a>-->
		<!--<a tabindex="0" class="previous paginate_button paginate_button_disabled" id="example_previous">上一页</a>-->
		<div class="tcdPageCode"></div>
			<!--<span>
				<#if (pageInfo.pages>1) >
					<#list pageInfo.min..pageInfo.max as index>
						<#if pageInfo.index==index>
							<a tabindex="0" data-index="${index}" class="paginate_active">${index}</a>
						<#else>
							<a tabindex="0" data-index="${index}" class="paginate_button">${index}</a>	
						</#if>
					</#list>
				<#elseif pageInfo.pages==1>
					<a tabindex="0" data-index="1" class="paginate_active">1</a>
				</#if>
			</span>-->
		<!--<a tabindex="0" class="next paginate_button" id="example_next">下一页</a>-->
		<!--<a tabindex="0" class="last paginate_button" id="example_last">尾页</a>-->
</div>

<script type="text/javascript">
		$(".tcdPageCode").createPage({
	        pageCount:${pageInfo.pages},//总页数
	        current:${pageInfo.index},
	        backFn:function(index){
	        	var action=$("#example").attr('data-action');
	        	//用户列表查询分页
	        	if(action =="/admin/user/list?1=1"){
	        		var username="<#if username?exists>${username}</#if>";
		        	var realname="<#if realname?exists>${realname}</#if>";
		        	var phone="<#if phone?exists>${phone}</#if>";
		        	var regTimeFrom="<#if regTimeFrom?exists>${regTimeFrom}</#if>";
		        	var regTimeTo="<#if regTimeTo?exists>${regTimeTo}</#if>";
		        	var invitedUsername="<#if invitedUsername?exists>${invitedUsername}</#if>";
		        	 window.location.href=action+"&index="+index+"&username="+username+"&realname="+realname+"&phone="+phone+"&regTimeFrom="+regTimeFrom+
		            "&regTimeTo="+regTimeTo+"&invitedUsername="+invitedUsername;
	        	}
	        	//用户认证列表查询分页
	        	if(action =="/admin/userAuth/list?1=1"){
	        		var username="<#if username?exists>${username}</#if>";
		        	var authName="<#if authName?exists>${authName}</#if>";
		        	 window.location.href=action+"&index="+index+"&username="+username+"&authName="+authName
	        	}
	        	//邀请用户列表查询分页
	        	if(action =="/admin/user/listInviteUser?1=1"){
	        		var invitedUsername="<#if invitedUsername?exists>${invitedUsername}</#if>";
		        	var username="<#if username?exists>${username}</#if>";
		        	 window.location.href=action+"&index="+index+"&username="+username+"&invitedUsername="+invitedUsername
	        	}
	        	//邀请用户排名列表查询分页
	        	if(action =="/admin/user/listInviteUser/rank?1=1"){
	        		var invitedUserType="<#if invitedUserType?exists>${invitedUserType}</#if>";
		        	var userOperateType="<#if userOperateType?exists>${userOperateType}</#if>";
		        	 window.location.href=action+"&index="+index+"&invitedUserType="+invitedUserType+"&userOperateType="+userOperateType
	        	}
	        	//初审借款列表查询分页
	        	if(action =="/admin/borrow/apply/list?1=1"){
	        		var username="<#if username?exists>${username}</#if>";
		        	var deadline="<#if deadline?exists>${deadline}</#if>";
		        	var status="<#if status?exists>${status}</#if>";
		        	window.location.href=action+"&index="+index+"&username="+username+"&deadline="+deadline+"&status="+status
	        	}
	        	//借款标列表查询分页
	        	if(action =="/admin/borrow/list?1=1"){
	        		var status="<#if status?exists>${status}</#if>";
		        	var createTimeBegin="<#if createTimeBegin?exists>${createTimeBegin}</#if>";
		        	var createTimeEnd="<#if createTimeEnd?exists>${createTimeEnd}</#if>";
		        	window.location.href=action+"&index="+index+"&status="+status+"&createTimeBegin="+createTimeBegin+"&createTimeEnd="+createTimeEnd
	        	}
	        	//已完成的还款列表查询分页
	        	if(action =="/admin/borrowPayment/listBorrowRepay?1=1"){
	        		var matchTitle="<#if matchTitle?exists>${matchTitle}</#if>";
		        	var actualPaymentDateBegin="<#if actualPaymentDateBegin?exists>${actualPaymentDateBegin}</#if>";
		        	var actualPaymentDateEnd="<#if actualPaymentDateEnd?exists>${actualPaymentDateEnd}</#if>";
		        	window.location.href=action+"&index="+index+"&matchTitle="+matchTitle+"&actualDateBegin="+actualPaymentDateBegin+"&actualDateEnd="+actualPaymentDateEnd
	        	}
	        	//未完成的还款列表查询分页
	        	if(action =="/admin/borrowPayment/listUnReturnBorrowPayment?1=1"){
	        		var matchTitle="<#if matchTitle?exists>${matchTitle}</#if>";
		        	var expectPaymentDateBegin="<#if expectPaymentDateBegin?exists>${expectPaymentDateBegin}</#if>";
		        	var expectPaymentDateEnd="<#if expectPaymentDateEnd?exists>${expectPaymentDateEnd}</#if>";
		        	var actualPaymentDateBegin="<#if actualPaymentDateBegin?exists>${actualPaymentDateBegin}</#if>";
		        	var actualPaymentDateEnd="<#if actualPaymentDateEnd?exists>${actualPaymentDateEnd}</#if>";
		        	window.location.href=action+"&index="+index+"&matchTitle="+matchTitle+"&expectDateBegin="+expectPaymentDateBegin+"&expectDateEnd="+expectPaymentDateEnd+
		        	"&actualDateBegin="+actualPaymentDateBegin+"&actualDateEnd="+actualPaymentDateEnd
	        	}
	        	//用户逾期还款列表查询分页
	        	if(action =="/admin/borrowPayment/listOverdue?overdueDay=-1"){
		        	var expectPaymentDateBegin="<#if expectPaymentDateBegin?exists>${expectPaymentDateBegin}</#if>";
		        	var expectPaymentDateEnd="<#if expectPaymentDateEnd?exists>${expectPaymentDateEnd}</#if>";
		        	var actualPaymentDateBegin="<#if actualPaymentDateBegin?exists>${actualPaymentDateBegin}</#if>";
		        	var actualPaymentDateEnd="<#if actualPaymentDateEnd?exists>${actualPaymentDateEnd}</#if>";
		        	window.location.href=action+"&index="+index+"&expectDateBegin="+expectPaymentDateBegin+"&expectDateEnd="+expectPaymentDateEnd+
		        	"&actualDateBegin="+actualPaymentDateBegin+"&actualDateEnd="+actualPaymentDateEnd
	        	}
	        	//用户资金总览信息列表查询分页
	        	if(action =="/admin/userAccount/list?1=1"){
		        	var username="<#if username?exists>${username}</#if>";
		        	var match="<#if match?exists>${match}</#if>";
		        	var amount="<#if amount?exists>${amount}</#if>";
		        	window.location.href=action+"&index="+index+"&username="+username+"&match="+match+
		        	"&amount="+amount
	        	}
	        	//用户提现列表查询分页
	        	if(action =="/admin/withdraw/list?"){
		        	var username="<#if username?exists>${username}</#if>";
		        	var status="<#if status?exists>${status}</#if>";
		        	var match="<#if match?exists>${match}</#if>";
		        	var money="<#if money?exists>${money}</#if>";
		        	var createTimeBegin="<#if createTimeBegin?exists>${createTimeBegin}</#if>";
		        	var createTimeEnd="<#if createTimeEnd?exists>${createTimeEnd}</#if>";
		        	var verifyTimeBegin="<#if verifyTimeBegin?exists>${verifyTimeBegin}</#if>";
		        	var verifyTimeEnd="<#if verifyTimeEnd?exists>${verifyTimeEnd}</#if>";
		        	var isOffLine="<#if isOffLine?exists>${isOffLine}</#if>";
		        	window.location.href=action+"&index="+index+"&username="+username+"&match="+match+
		        	"&money="+money+"&createTimeBegin="+createTimeBegin+"&createTimeEnd="+createTimeEnd+"&status="+status+"&isOffLine="+isOffLine;
	        	}
	        	//用户充值列表查询分页
	        	if(action == "/admin/recharge/list?"){
		        	var username="<#if username?exists>${username}</#if>";
		        	var match="<#if match?exists>${match}</#if>";
		        	var money="<#if money?exists>${money}</#if>";
		        	var createTimeBegin="<#if createTimeBegin?exists>${createTimeBegin}</#if>";
		        	var createTimeEnd="<#if createTimeEnd?exists>${createTimeEnd}</#if>";
		        	var status="<#if status?exists>${status}</#if>";
		        	var isOffLine="<#if isOffLine?exists>${isOffLine}</#if>";
		            window.location.href=action+"&index="+index+"&username="+username+"&match="+match+"&money="+money+"&createTimeBegin="+createTimeBegin+
		            "&createTimeEnd="+createTimeEnd+"&status="+status+"&isOffLine="+isOffLine;
	        	}
	        	//用户资金流水信息列表查询分页
	        	if(action == "/admin/fundRecord/list?1=1"){
		        	var username="<#if username?exists>${username}</#if>";
		        	var type="<#if type?exists>${type}</#if>";
		        	var createTimeBegin="<#if createTimeBegin?exists>${createTimeBegin}</#if>";
		        	var createTimeEnd="<#if createTimeEnd?exists>${createTimeEnd}</#if>";
		            window.location.href=action+"&index="+index+"&username="+username+"&type="+type+"&createTimeBegin="+createTimeBegin+
		            "&createTimeEnd="+createTimeEnd;
	        	}
	        	//投资列表列表查询分页
	        	if(action == "/admin/tender/list?1=1"){
		        	var status="<#if status?exists>${status}</#if>";
		        	var matchInviteUser="<#if matchInviteUser?exists>${matchInviteUser}</#if>";
		        	var timeBegin="<#if timeBegin?exists>${timeBegin}</#if>";
		        	var timeEnd="<#if timeEnd?exists>${timeEnd}</#if>";
		        	var borrowCode="<#if borrowCode?exists>${borrowCode}</#if>";
		        	var tenderUserName="<#if tenderUserName?exists>${tenderUserName}</#if>";
		            window.location.href=action+"&index="+index+"&status="+status+"&matchInviteUser="+matchInviteUser+"&timeBegin="+timeBegin+
		            "&timeEnd="+timeEnd+"&borrowCode="+borrowCode+"&tenderUserName="+tenderUserName;
	        	}
	        	//债权转让列表查询分页
	        	if(action == "/admin/borrow/change/list?1=1"){
		            window.location.href=action+"&index="+index;
	        	}
	        	//债权转让列表查询分页
	        	if(action == "/admin/product/list?1=1"){
		            window.location.href=action+"&index="+index;
	        	}
	        	//banner设置列表查询分页
	        	if(action == "/admin/banner/list?1=1"){
		            window.location.href=action+"&index="+index;
	        	}
	        	//新闻列表查询分页
	        	if(action == "/admin/article/list?1=1"){
	        		var title="<#if title?exists>${title}</#if>";
		        	var type="<#if type?exists>${type}</#if>";
		            window.location.href=action+"&index="+index+"&title="+title+"&type="+type;
	        	}
	        	//短信发送记录列表分页
	        	if(action == "/admin/system/sms/list?1=1"){
	        		var sendUser="<#if sendUser?exists>${sendUser}</#if>";
	        		var sendTimeFrom="<#if sendTimeFrom?exists>${sendTimeFrom}</#if>";
		        	var sendTimeTo="<#if sendTimeTo?exists>${sendTimeTo}</#if>";
		            window.location.href=action+"&index="+index+"&sendUser="+sendUser+"&sendTimeFrom="+sendTimeFrom+"&sendTimeTo="+sendTimeTo;
	        	}
	        	//用户组列表分页
	        	if(action == "/admin/list?1=1"){
		            window.location.href=action+"&index="+index;
	        	}
	        	//权限菜单列表分页
	        	if(action == "/admin/group/list?1=1"){
		            window.location.href=action+"&index="+index;
	        	}
	        	//商品列表分页
	        	if(action == "/admin/good/list?1=1"){
		            window.location.href=action+"&index="+index;
	        	}
	        	//积分流水列表分页
	        	if(action == "/admin/scoreRecord/list?1=1"){
		            window.location.href=action+"&index="+index;
	        	}
	        	//商品类型列表分页
	        	if(action == "/admin/goodType/list?1=1"){
		            window.location.href=action+"&index="+index;
	        	}
	        	//兑换商品类型列表分页
	        	if(action == "/admin/goodBuy/list?1=1"){
	        		var startTime = "<#if startTime?exists>${startTime}</#if>";
					var endTime = "<#if endTime?exists>${endTime}</#if>";
		            window.location.href=action+"&index="+index+"&startTime="+startTime+"&endTime="+endTime
	        	}
	        	//用户ips账户余额查询
	        	if(action == "/admin/user/ips/account?1=1"){
		            window.location.href=action+"&index="+index
	        	}
	        	//代金券列表分页
	        	if(action == "/admin/coupon/amount/listRecord?1=1") {
	        		var username = "<#if username?exists>${username}</#if>";
	        		var borrowTitle = "<#if borrowTitle?exists>${borrowTitle}</#if>";
	        		var useTimeFrom = "<#if useTimeFrom?exists>${useTimeFrom}</#if>";
	        		var useTimeTo = "<#if useTimeTo?exists>${useTimeTo}</#if>";
	        		window.location.href=action+"&username="+username+"&borrowTitle="+borrowTitle+"&useTimeFrom="+useTimeFrom+"&useTimeTo="+useTimeTo+"&index="+index;
	        	}
	        	//加息券列表分页
	        	if(action == "/admin/coupon/rate/listRecord?1=1") {
	        		var username = "<#if username?exists>${username}</#if>";
	        		var borrowTitle = "<#if borrowTitle?exists>${borrowTitle}</#if>";
	        		var useTimeFrom = "<#if useTimeFrom?exists>${useTimeFrom}</#if>";
	        		var useTimeTo = "<#if useTimeTo?exists>${useTimeTo}</#if>";
	        		window.location.href=action+"&username="+username+"&borrowTitle="+borrowTitle+"&useTimeFrom="+useTimeFrom+"&useTimeTo="+useTimeTo+"&index="+index;
	        	}
	        	//用户认证记录分页
	        	if(action == "/admin/userVerify/list?1=1") {
	        		window.location.href=action+"&index="+index;
	        	}
	        	//用户等级设置
	        	if(action == "/admin/member/listLevel?1=1") {
	        		window.location.href=action+"&index="+index;
	        	}
	        	//查询用户信息管理分页
	        	if(action =="/admin/userinfo/list?1=1"){
	        		var username="<#if username?exists>${username}</#if>";
		        	var realname="<#if realname?exists>${realname}</#if>";
		        	var phone="<#if phone?exists>${phone}</#if>";
		        	var sendTimeFrom="<#if sendTimeFrom?exists>${sendTimeFrom}</#if>";
		        	var sendTimeFrom="<#if sendTimeFrom?exists>${sendTimeTo}</#if>";
		        	window.location.href=action+"&index="+index+"&username="+username+"&realname="+realname+"&phone="+phone+"&sendTimeFrom="+sendTimeFrom+
		            "&sendTimeTo="+sendTimeTo;
	        	}
	        	//三方消息分页
	           if(action =="/admin/system/queryList?1=1"){
	        		var phone="<#if phone?exists>${phone}</#if>";
		        	var type="<#if type?exists>${type}</#if>";
		        	var sendTimeFrom="<#if sendTimeFrom?exists>${sendTimeFrom}</#if>";
		        	var sendTimeTo="<#if sendTimeTo?exists>${sendTimeTo}</#if>";
		        	window.location.href=action+"&index="+index+"&phone="+phone+"&type="+type+"&sendTimeFrom="+sendTimeFrom+"&sendTimeTo="+sendTimeTo;
	        	}
	        }
	 	});
	

</script>